#ifndef _ML_TRAJECTORY_SAVER_H_
#define _ML_TRAJECTORY_SAVER_H_
#include "stdafx.h"
#include "MLTrajectory.h"

class CMLTrajectorySaver
{
public:
	// Constructor and Destructor
	CMLTrajectorySaver(void);
	~CMLTrajectorySaver(void);

public:
	// Methods
	int  Initialize(const std::wstring& wstrFileName);
	int  Save(const CMLTrajectoryCollection& trajs, int startindex=-1, int endindex=-1);	
	void Close();

private:
	// Fields
	std::wofstream m_FileStream;
};

#endif

